import request from "@/utils/request";

// 各城市土地出让金数据汇总
export const selectCityLandSellMoneyTotal = (params: any) => {
	return request({
		url: "/screen/housingConstructionLand/selectCityLandSellMoneyTotal",
		method: "get",
		params: params,
	});
};
// 土地出让金
export const selectLandSellMoney = (params: any) => {
	return request({
		url: "/screen/housingConstructionLand/selectLandSellMoney",
		method: "get",
		params: params,
	});
};
// 新建商品房销售 面积 金额 均价
export const selectProjectBuildingTotal = (params: any) => {
	return request({
		url: "/screen/productBuildingDeal/selectProjectBuildingTotal",
		method: "get",
		params: params,
	});
};
// 新建商品住宅销售 面积 金额 均价
export const selectProjectDwellingTotal = (params: any) => {
	return request({
		url: "/screen/productBuildingDeal/selectProjectDwellingTotal",
		method: "get",
		params: params,
	});
};
// 二手房销售 面积 金额 均价
export const selectEsProjectBuildingTotal = (params: any) => {
	return request({
		url: "/screen/productBuildingDeal/selectEsProjectBuildingTotal",
		method: "get",
		params: params,
	});
};
// 二手住宅销售 面积 金额 均价
export const selectEsProjectDwellingTotal = (params: any) => {
	return request({
		url: "/screen/productBuildingDeal/selectEsProjectDwellingTotal",
		method: "get",
		params: params,
	});
};
// 各城市新建商品房销售 面积排名 金额排名 均价排名
export const selectProjectBuildingSort = (params: any) => {
	return request({
		url: "/screen/productBuildingDeal/selectProjectBuildingSort",
		method: "get",
		params: params,
	});
};
// 新建商品房交易合同网签备案数据
export const selectPriceArea = (params: any) => {
	return request({
		url: "/screen/productBuildingDeal/selectPriceArea",
		method: "get",
		params: params,
	});
};
// 房地产走势预测 投资 面积 数量 均价
export const selectProjectBuildingForecast = (params: any) => {
	return request({
		url: "/screen/analyseForecast/selectProjectBuildingForecast",
		method: "get",
		params: params,
	});
};

// 各个级别默认参数 GDP 人均GDP 人口
export const defaultParameterSEachLevel = (params: any) => {
	return request({
		url: "/screen/analyseForecast/defaultParameterSEachLevel",
		method: "post",
		data: params,
	});
};

// 宏观经济指标对房地产走势模拟 开发投资 销售面积 销售额 销售均价
export const selectProjectBuildingForecastGdp = (params: any) => {
	return request({
		url: "/screen/analyseForecast/selectProjectBuildingForecastGdp",
		method: "get",
		params: params,
	});
};

// 商品住宅需求预测
export const selectStructureForecast = (params: any) => {
	return request({
		url: "/screen/analyseForecast/selectStructureForecast",
		method: "get",
		params: params,
	});
};

// 新建商品住宅需求预测
export const selectNumberForecast = (params: any) => {
	return request({
		url: "/screen/analyseForecast/selectNumberForecast",
		method: "get",
		params: params,
	});
};

// 购房意愿分析
export const selectSourceForecast = (params: any) => {
	return request({
		url: "/screen/analyseForecast/selectSourceForecast",
		method: "get",
		params: params,
	});
};
